
import {mapGetters, mapMutations} from "vuex";
export const GlobalMixin = {
    data() {
        return {
         }
    },
    computed: {
       ...mapGetters(['getShowDeadline'])
    },
    methods: {
        ...mapMutations(['SET_SHOW_DEADLINE','SET_DETAILS']),
        showDeadline(row)
        {
             this.SET_SHOW_DEADLINE(!this.getShowDeadline)
             this.SET_DETAILS(row)
            console.log(row+'测试')
        }

    },

};